import React, {Component} from 'react';
import {View,Text,Button} from 'react-native';
import codePush from "react-native-code-push";

export default class Home extends Component {

    componentDidMount(){

    }

    render() {
        return(
            <View>
                <Text>1111</Text>
                <Button title="更新" onPress={()=>{
                    codePush.sync()
                }}/>
            </View>
        )
    }

}
